import React from 'react';

export default class Name extends React.Component {
    constructor(props) {
        super(props);
        console.dir('constructor');
    }

    componentWillMount () {
        console.dir('componentWillMount')
    }

    componentDidMount() {
        console.dir('componentDidMount')
    }

    componentWillReceiveProps() {
        console.dir('componentWillReceiveProps')
    }

    shouldComponentUpdate() {
        console.dir('shouldComponentUpdate')
        return true;
    }

    componentWillUpdate () {
        console.dir('componentWillUpdate')
    }

    componentDidUpdate() {
        console.dir('componentDidUpdate')
    }

    componentWillUnmount() {
        console.dir('componentWillUnmount')
    }
	
    render() {
        console.dir('render')
        return (
            <span>{this.props.name}</span>
        )
    }
}
